package com.example.iotlink.service.impl;

import com.example.iotlink.bean.Receipt;
import com.example.iotlink.service.ITopicHandleStrategy;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class WarnStatReceiptHandleStrategy  implements ITopicHandleStrategy {
    @Override
    public void handelReceiveTopic(Receipt receipt) {
        log.info("报警器状态:{}",receipt);

    }
}
